Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respond to rev2 #31

Merged
merged 28 commits into from
Jun 21, 2021
Merged

Respond to rev2 #31

merged 28 commits into from
Jun 21, 2021

Conversation

temospena
Copy link
Collaborator

@temospena temospena commented Jun 13, 2021

ropensci/software-review#420 (comment)

pass benchmark to a vignette and remove from README

Update argument names
@param r -> routes
in slopes.R and plot_slope.R and slope_get.R and README

@param e -> elevations (values)
in slopes.R and plot_slope.R
@param e -> dem (raster)
in slopes.R and README

lonlat -> defaults were revised and updated

do not export plot_dz from plot_slope.R

@temospena temospena changed the title move Benchmark from readme to a proper vignette Respond to rev2 Jun 13, 2021
@temospena temospena mentioned this pull request Jun 13, 2021
31 tasks
@Robinlovelace
Copy link
Member

Looking at the error message in Actions I think it was because osmextract wasn't available.

Added as a 'Suggests' with:

usethis::use_package("osmextract", type = "Suggests")

in latest commit.

Copy link
Collaborator Author

@temospena temospena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great!

@Robinlovelace
Copy link
Member

Interesting error message:

Error: Error: processing vignette 'roadnetworkcycling.Rmd' failed with diagnostics:

https://github.com/ITSLeeds/slopes/runs/2815009282#step:9:53

Maybe worth trying with terra instead...

# res(dem) #27m of resolution
network = iow_network_segments

raster::plot(dem)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice result @temospena, I didn't know this was where the hills were in IoW:

image

@Robinlovelace Robinlovelace merged commit f127ac1 into master Jun 21, 2021
@Robinlovelace Robinlovelace deleted the rev2 branch June 21, 2021 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants